package com.yzkj.siot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzkj.siot.domain.AdminTenant;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author skye
 * @since 2021-12-25
 */
public interface AdminTenantService extends IService<AdminTenant> {

    /**
     * 通过别名获取租户
     *
     * @param alias 租户别名
     * @return {@link AdminTenant}
     */
    AdminTenant queryOneByTenantAlias(String alias);
}
